<% @page_title = "多背一公斤 | 发消息" -%>

<% content_for :sidebar do -%>
  <h4><%= link_to "返回我的收件箱", messages_url %></h4>
<% end -%>

<h3>发消息</h3>
<% form_for :message, :url => messages_url do |f| -%>
  <%= render :partial => 'form', :object => f %>
  <%= submit_tag "写好了，发出去" %>
<% end -%>